<?php 
if(!defined('BASEPATH')) exit('No dirct scipt access allowed');

class MY_Controller extends CI_Controller {
	public function __construct() {
		parent::__construct();
		$this->load->library('CI_Smarty');
		$this->load->library('form_validation');
		$this->load->helper('form');
		$this->load->helper('url');
	}

	public function assign($key,$value){
		$this->ci_smarty->assign($key,$value);
	}

	public function display($html){
		$this->ci_smarty->display($html);
	}
}